<?
$n=100;
$newModule=new newsModule();
$dtthreebox=$newModule->getNews(1,3,"","5");
?>
<div class="splash">
    <div class="line1"></div>
    
    
    
    <link rel="stylesheet" href="lib/nivo-slider/themes/default/default.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="lib/nivo-slider/nivo-slider.css" type="text/css" media="screen" />
    
    <div id="wrapper" style="position: absolute;top: 250px">
        <div class="slider-wrapper theme-default">
            <div id="slider" class="nivoSlider" style="height: 200px">
                <img src="lib/nivo-slider/demo/images/toystory.jpg" data-thumb="lib/nivo-slider/demo/images/toystory.jpg" alt="" />
                <a href="http://dev7studios.com">
                    <img src="lib/nivo-slider/demo/images/up.jpg" data-thumb="lib/nivo-slider/demo/images/up.jpg" 
					alt="" title="This is an example of a caption" />
                </a>
                <img src="lib/nivo-slider/demo/images/walle.jpg" data-thumb="lib/nivo-slider/demo/images/walle.jpg" alt="" data-transition="slideInLeft" />
                <img src="lib/nivo-slider/demo/images/nemo.jpg" data-thumb="lib/nivo-slider/demo/images/nemo.jpg" alt="" title="#htmlcaption" />
            </div>
            <div id="htmlcaption" class="nivo-html-caption">
                <strong>This</strong> is an example of a <em>HTML</em> caption with <a href="#">a link</a>. 
            </div>
        </div>

    </div>
    
    <script type="text/javascript" src="lib/nivo-slider/jquery.nivo.slider.js"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider();
    });
    </script>
    
    <div class="block2">
        <img src="images/png/logo_3.png"/>
<!--        <span class="txt1">Coffee</span>
        <span class="txt2">Golden bell S Coffee</span>
        <a href="#!/page_MORE" class="button1"><span></span><strong>read more</strong></a> -->
    </div>
    <?
    $no=0;
    foreach ($dtthreebox as $r){
        $no++;
    ?>
    <a href="#!/page_MORE" class="block1" onclick="loadmore('<?=$r["id"]?>');">
            <span class="bg"></span>
            <span class="c"><?=$no?></span>
            <span class="txt1"><?=$r["title"]?></span>
            <span class="txt2"><?=$r["title_second"]?></span>
            <span class="txt3" >
            <?=$r["brief"]?>
            </span>
        </a>
    <?
    }
    ?>
    <div class=" clear"></div>
</div>